package com.yb.guigu.pick.activity.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.yb.guigu.pick.activity.bean.RedPackageRain;
import com.yb.guigu.pick.core.bean.GuiguResult;

import java.math.BigDecimal;

public interface IRedPackageRainService {

    GuiguResult generate(BigDecimal totalMoney, int totalCount);

    GuiguResult start(Integer userId, String redPackageId, Integer clickCount) throws JsonProcessingException;

    GuiguResult robRedPackage(String userId, String redPackageRainKey);

    GuiguResult userRedPackageRecord(String userId, String redPackageRainKey);
}
